package cn.edu.seu.ssny.service;


import cn.edu.seu.ssny.entity.Enterprise;
import cn.edu.seu.ssny.entity.Project;
import cn.edu.seu.ssny.service.support.IBaseService;

import java.util.List;

public interface IProjectService extends IBaseService<Project,Integer> {

    Project findByName(String name);

    Project findByIdentification(String identification);

    List<Project> findAllByEnterprise(Enterprise enterprise);

    void saveOrUpdate(Project project, Enterprise enterprise);

    void saveDisplay(Project project);

    void savePanel(Project project);
}

